package com.jiangfeixiang.springbootblog.controller.admin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: 姜飞祥
 * @Description: 写博客
 * @Date: Create in 2019/1/27/0027 16:49
 * @param: $params$
 * @return: $returns$
 */
@Controller
@RequestMapping("/admin")
public class BlogEditController {

    private static final Logger logger = LoggerFactory.getLogger(IndexController.class);

    /**
     * 博客编辑页
     * @return
     */
    @RequestMapping(value = "/blogEdit",method = RequestMethod.GET)
    public String index(){

        return "admin/blogEdit";
    }
}
